{% extends 'base.html' %}

{% block content %}
<h5>Settings</h5>
<!--<form method="post" class="row inline-form">

    Your Name: <input type="text" class="form-control" name="name" autocomplete="off" required value="{{ current_user.name }}">
    <input class="btn btn-success" type="submit" name="submit" value="Save">
</form>-->

<form method="post" >
  <div class="form-row align-items-center">

    <div class="col-auto">
      <label class="sr-only" for="inlineFormInputGroup">管理员用户名</label>
      <div class="input-group mb-2">
        <div class="input-group-prepend">
          <div class="input-group-text">@</div>
        </div>
        <input type="text" class="form-control"  placeholder="Username" name="name" autocomplete="off" required value="{{ current_user.name }}">
      </div>
    </div>

    <div class="col-auto">
      <button type="submit" class="btn btn-primary mb-2">确定</button>
    </div>
  </div>
</form>



{% endblock %}